package bb.lanxing.lib.devices.sgsettingentity.routebook;

import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;

public enum RoutebookStructState {
    Synced(3),
    Broken(4);
    
    public static final Companion Companion = new Companion(null);
    private final int data;

    RoutebookStructState(int i) {
        this.data = i;
    }

    public final int getData() {
        return this.data;
    }

    public static final class Companion {
        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        private Companion() {
        }

        public final RoutebookStructState from(long j) {
            RoutebookStructState[] values;
            for (RoutebookStructState routebookStructState : RoutebookStructState.values()) {
                if (((long) routebookStructState.getData()) == j) {
                    return routebookStructState;
                }
            }
            return null;
        }
    }
}
